.topbar-wrapper{
    width: 100%;
    height: 40px;
    background-color: #333;
    line-height: 40px;
}

.topbar a{
    font-size: 12px;
    color: #b0b0b0;
    display: block;
}

.topbar a:hover{
    color: white;
}

.topbar .line{
    font-size: 12px;
    color: #424242;
    margin: 0 8px;
}

/* 
    实际上这是段复合代码
 */
.service , .topbar li{
    float: left;
}

.shop-cart,
.user-info{
    float: right;
}
.shop-cart{
    margin-left: 25px;
    position: relative;
}

.shop-cart a{
    width: 120px;
    background-color: #424242;
    text-align: center;
    /* position: absolute; */
    
}
.shop-cart i{
    margin-left: 2px;
    font-size: 13px;
}
.shop-cart:hover .shop-list{
    height: 100px;
    z-index: 1;
    background-color: rgba(255, 255, 2550, 1);
}

.shop-cart:hover a{
    background-color: white;
    color: #ff6700;
    /* padding-bottom: 2px;
    border-bottom: 2px solid white; */

    
    z-index: 999;
}


.shop-list{
    width: 318px;
    height: 0;
    /* background-color: white; */
    overflow: hidden;
    transition: height .3s;
    box-shadow: 0 5px 6px rgba(0, 0, 0, .1);
   
    position: absolute;
    left: -197px;
    text-align: center;
    top: 40px;
    z-index: 999;
    
}

.shop-list span{
    font-size: 12px;
    color: black;
    margin-top:30px;
    display: block;

}

.app-wrapper{
    position: relative;
}

.app::before{
    content: '';
    display: none;
    width: 0;
    height: 0;
    border: 8px solid transparent;
    border-top: none;
    border-bottom-color:white;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.qrcode{
    width: 126px;
    /* height: 148px; */
    height: 0;
    overflow: hidden;
    
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, .3);
    text-align: center;
    position: absolute;
    left: -41px;
    /* display: none; */
    transition: height 0.3s;
}

.qrcode img{
    width: 90px;
    margin:16px 18px;
    margin-bottom: 0px;

}

.qrcode span{
    font-size: 14px;
    color: black;
}

.app-wrapper:hover .app::before{
    display: block;
}
.app-wrapper:hover .app .qrcode{
    /* display: block; */
    height: 148px;
    z-index: 9999;
}



.header{
    height: 100px;
    /* background-color:#bfa; */
}

.header .logo{
    float: left;
    margin-top: 22px;
    width: 55px;
    height: 55px;
    position: relative;
    overflow: hidden;
}

.header .logo a{
    display: block;
    width: 55px;
    height: 55px;
    left: 0;
    
    /* background-color: #bfa; */
    background-image: url(../img/logo-mi2.png);
    background-size: contain;
    position: absolute;
    transition: left .3s;
}

.header .logo .home{
    left: -55px;
    background-image: url(../img/logo-mi2.png);
}


.header .logo:hover .home{
    left: 0px;
}
.header .logo:hover .mi{
    left: 55px;
}


/* 设置中间的导航条 */
.header .nav-wrapper{
    float: left;
    /* 布局位置 */
    margin-left: 7px;
}
.header .nav{
    /* width: 792px; */
    height: 100px;
    /* background-color: #bfa; */
    line-height: 100px;
    padding-left: 58px;
    /* position: relative; */
}

.all-goods-wrapper{
    position: relative;
}

.nav .left-menu{
    position: absolute;
    left: -120px;
    background-color:rgb(160,158,158);
    width: 234px;
    height: 420px;
    line-height: 1;
    padding: 20px 0;
    z-index: 999;

    
}

.left-menu i{
    float: right;
    line-height: 42px;
    color: #e0e0e0;
}


/*
    像个这地方，优先设置a 而不是li
*/

ul .left-menu li a{
    display: block;
    padding: 0 30px;
    height: 42px;
    line-height: 42px;
    color: white;
    margin-right: 0;
}

ul .left-menu li a:hover{
    background-color: #ff6700;
    color: white;
    
}





.nav >li{
    float: left;
}

.nav-wrapper li a{
    font-size: 16px;
    color: black;
    margin-right: 20px;
    display: block;
    
}

/* 隐藏全部商品 */
/* 注意在这里 不能用display none */

.nav-wrapper .all-goods {
    visibility: hidden;
}

.nav-wrapper li a:hover{
    color:#ff6700 ;
}

.header-wrapper{
    /* background-color: red; */
    position: relative;
}

.nav .goods-info{
    height: 0;
    width: 100%;
    
    background-color: white;
    position: absolute;
    top: 100px;
    left: 0;
    transition: height .3s;
}

.nav .show:hover ~ .goods-info,
.nav .goods-info:hover{
    height: 229px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
    border-top:#e0e0e0 1px solid ;
    z-index: 9999;
    
}


.search-wrapper{
    width: 296px;
    height: 50px;
    /* background-color: #bfa; */
    float: right;
    margin-top: 25px;
    z-index: 1;
}

.search .search-inp{
    border: 1px solid #e0e0e0;
    border-right: none;
    height: 48px;
    width: 221px;
    padding: 0 10px;
    background-color: white;
    float: left;
}

.search .search-btn{
    border: 1px solid #e0e0e0;
    /* border-left: none; */
    height: 50px;
    width: 52px;
    box-sizing: border-box;
    background-color: white;

}

.search .search-btn:hover{
   background-color: #ff6700;
   border: none;
   /* height: 50px; */
    
}

.search-btn i{
    font-size: 18px;
    color: #616161;
}

.search-wrapper:hover .search-inp,
.search-wrapper:hover .search-btn{
    border-color: #b0b0b0;
}

.search .search-inp:focus,
.search .search-inp:focus + .search-btn
{
    border-color:#ff6700 ;
}

.banner img{
    width: 100%;
}

.banner li{
    position: absolute;
}

.banner {
    position: relative;
    height: 460px;
}

/* .pointer li{
    position: absolute;
    z-index: 99999;
    float: left;
}

.pointer li{
    
}

.pointer li a{
    display: block;
  
    width: 6px;
    height: 6px;
    background-color: red;
    margin-left: 18px;
    
}

.pointer .po1{
    
} */

.pointer{
    position: absolute;
    /* z-index: 9999; */
    bottom: 25px;
    right: 35px;

}

.pointer a{
    /* display: block;*/
    
     float: left;
    width: 6px;
    height: 6px;
    background-color:rgba(0, 0, 0, .4) ;
    border: 2px solid rgba(255, 255, 255, .4);
    border-radius: 50%;
    margin-left: 8px;
    
}

.pointer a:hover,
.pointer .active{
    background-color:rgba(255, 255, 255, .4);
    border: 2px solid rgba(0, 0, 0, .4) ;
    

}



.prev-next a{
    position: absolute;
    width: 41px;
    height: 69px;
    /* background-color: #bfa; */
    top: 0;
    bottom: 0;
    margin:  auto 0;
    background-image: url(../img/icon-slides.png);
}

.prev-next .next{
    right: 0;
    background-position: -124px;
   
}

.prev-next .prev{
    left: 234px;
    background-position: -83px;

}

.prev-next .prev:hover{
    background-position: 0;
}
.prev-next .next:hover{
    background-position:-42px;
}

.back-top{
    background-color:white;
    width: 26px;
    height: 206px;
    /* z-index: 9999; */
    position: fixed;

    right: 50%;
    margin-right: -639px;
    bottom: 60px;
    box-shadow: 0  0 6px rgba(0, 0, 0, .3);

}

.back-top a{
    /* border: 1px solid red; */
    /* background-color: tomato; */
    /* display: block; */
    height: 40px;
    width: 26px;
    line-height: 41px;
    text-align: center;
}


.service-list li a  i{
  
    display: block;
   
    color: #999;
    font-size:18px;

}

.ad-wrapper{
    /* background-color: red; */
   padding-top: 14px;
  
    height: 170px;
  
}

.ad-wrapper .short-cut ,
.ad-wrapper .imgs,
.ad-wrapper li{
    float: left;
}

.ad-wrapper .short-cut{
    
    width: 234px;
    height: 170px;
    background-color: #5f5750;
    margin-right:14px;
    
}
.short-cut a{
    color: #cfccca;
    display: block;
    height: 84px;
    width: 76px;
    text-align: center;
    font-size: 12px;
    overflow: hidden;
}

.short-cut a:hover{
    color: white;
}


 .short-cut a i{
     display: block;
     margin-top: 12px;
     font-size: 26px;
     margin-bottom: 2px;
   
 }

.ad-wrapper .imgs li{
    width: 316px;
    margin-right:15px ;

}
.ad-wrapper .imgs li:last-child{
    margin-right: 0;
}

.ad-wrapper .imgs img{
    width: 100%;

}
.short-cut li{
    position: relative;
}

.ad-wrapper .imgs img:hover{
    box-shadow: 0 10px 20px rgba(0, 0, 0, .1);
}

.ad-wrapper  .short-cut li::before{
    content: '';
    display: block;
    width: 64px;
    height: 1px;
    background-color: #665e57;
    /* background-color: blue; */
    padding-top: 1px;
   /* left: 0;
   right: 0; */
   margin: 0 auto;
}

.ad-wrapper  .short-cut li::after{
    content: '';
    display: block;
    height: 70px;
    width: 1px;
    background-color: #665e57;
    /* background-color: blue; */
    padding-top: 1px;
  
   left: 2px;
   top: 0;
   bottom: 0;
   margin:auto 0;
   position: absolute;
}





    











